package com.neu.api.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class FoodVO {

    private Long id;

    //名称
    private String name;

    //口味
    private String flavor;

    //分类id
    private Long categoryId;

    //分类名称
    private String categoryName;

    //价格
    private BigDecimal price;

    //图片
    private String photo;

    //描述信息
    private String description;

    private Byte status;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;


}
